<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="video-js.min.css">
  <title>直播</title>
</head>
<body>

  <video id="live" class="video-js">
    <source src="rtmp://localhost/oflaDemo/100" type="rtmp/flv"></source>
    <source src="1.mp4"></source>
  </video>

  <script src="video.min.js"></script>
  <script src="zh-CN.js"></script>
  <script src="videojs-flash.min.js"></script>
  <script>
    var body = document.querySelector('body');
    videojs(document.querySelector('#live'), {
      controls: true,
      width: 800,
      height: 450,
      language: 'zh-CN',
      techOrder: ['flash', 'html5'],
      liveui: true,
      plugins: {

      }
    }, function(){
    })
  </script>


  
</body>
</html>